package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MyController {

    @RequestMapping("/a")
    public void a(){
        System.out.println("a方法执行");
    }
    @RequestMapping("/b")
    public void b(){
        System.out.println("b方法执行");
    }
    @RequestMapping("/c")
    public void c(){
        System.out.println("c方法执行");
    }
    @RequestMapping("/d")
    public void d(){
        System.out.println("d方法执行");
    }
}
